/**
 * 
 */
package com.whilefor.runner.common.web;

import java.io.Serializable;

/**
 * @author D.linsen
 *
 */
public class Message implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6313607479032173795L;
	
	private final String msg;
	private final boolean success;
	
	
	
	/**
	 * @param msg
	 * @param success
	 */
	public Message(String msg, boolean success) {
		super();
		this.msg = msg;
		this.success = success;
	}
	public String getMsg() {
		return msg;
	}
	public boolean isSuccess() {
		return success;
	}
	
}
